with open(r'i:/1.png', 'rb') as source:
    content = source.read()
    with open(r'i:/2.png', 'wb') as target:
        target.write(content)
